<template>
  <div class="login-container">
    <van-nav-bar title="登录" />
    <!-- 登录表单 -->
    <van-form>
      <van-field placeholder="请输入手机号">
        <i slot="left-icon" class="toutiao toutiao-shouji"></i>
      </van-field>
      <van-field placeholder="请输入验证码">
          <i slot="left-icon" class="toutiao toutiao-yanzhengma"></i>
      </van-field>

      <div style="margin: 16px">
        <van-button block type="info" native-type="submit">提交</van-button>
      </div>
    </van-form>
  </div>
</template>

<script>
export default {
  name: "Login",
  data() {
    return {};
  },
  methods: {
    // 表单提交事件
    onSubmit(values) {
      console.log("submit", values);
    },
  },
};
</script>

<style lang="less" scoped >
    .login-container {
  .toutiao {
    font-size: 37px;
  }
  .send-sms-btn {
    width: 152px;
    height: 46px;
    line-height: 46px;
    background-color: #ededed;
    font-size: 22px;
    color: #666;
  }
  .login-btn-wrap {
    padding: 53px 33px;
    .login-btn {
      background-color: #6db4fb;
      border: none;
    }
  }
}

/deep/ .van-button--primary {
  border-color: #1989fa !important;
}
</style>